class CreateImages < ActiveRecord::Migration
  def self.up
    create_table :images, :primary_key => :image_id do |t|
      t.column "image_id", :integer, :auto_increment => false
      t.binary :small
      t.binary :large
    end
  end

  def self.down
    drop_table :images
  end
end
